package com.ccb.jyzx.expand.ouapi.beans;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author XIEFEI
 * @date 2019-11-13 13:59
 * @Description 岗位信息
 **/
@ApiModel(description= "岗位信息")
public class DutyInfo {
    @ApiModelProperty(value = "ID")
    private String id;
    /**
     * 岗位名称
     */
    @ApiModelProperty(value = "岗位名称")
    private String  dutyName;
    /**
     * 岗位描述
     */
    @ApiModelProperty(value = "岗位描述")
    private String  dutyDesc;
    /**
     * 部门Id
     */
    @ApiModelProperty(value = "部门Id")
    private String orgDeptId;
    /**
     * 上级岗位Id
     */
    @ApiModelProperty(value = "上级岗位Id")
    private String parentDuty;


    /**
     * 排序号
     */
    @ApiModelProperty(value = "排序号")
    private int orderNum;
    /**
     * 使用状态（1：使用中，0：未使用）
     */
    @ApiModelProperty(value = "使用状态（1：使用中，0：未使用）")
    private int state;
    /**
     * 主副岗标记，1为主岗，0为副岗
     */
    @ApiModelProperty(value = "主副岗标记，1为主岗，0为副岗")
    private int flag;
    /**
     * 岗位所属部门
     */
    private DepartmentInfo departmentInfo;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDutyName() {
        return dutyName;
    }

    public void setDutyName(String dutyName) {
        this.dutyName = dutyName;
    }

    public String getDutyDesc() {
        return dutyDesc;
    }

    public void setDutyDesc(String dutyDesc) {
        this.dutyDesc = dutyDesc;
    }

    public String getOrgDeptId() {
        return orgDeptId;
    }

    public void setOrgDeptId(String orgDeptId) {
        this.orgDeptId = orgDeptId;
    }

    public String getParentDuty() {
        return parentDuty;
    }


    public void setParentDuty(String parentDuty) {
        this.parentDuty = parentDuty;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }



    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public DepartmentInfo getDepartmentInfo() {
        return departmentInfo;
    }

    public void setDepartmentInfo(DepartmentInfo departmentInfo) {
        this.departmentInfo = departmentInfo;
    }


}
